﻿/*
 *  Source code courtesy of the desktopWeb.CodePlex.com community project. See MS-PL license on Codeplex.com. 
 *  This is beta code not intended for a production application.
 */


//Next: Change to References List<string> to allow a ContentPart to refer to one or many NamedRange References
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using System.ComponentModel;

namespace MyData.Activities
{
  //Base ContentPart activity
  [Designer(typeof(MyData.Activities.Designers.OfficeXml.ContentPartDesigner))]
  public abstract class ContentPart : Activity
  {
    //Document or Worksheet
    public InArgument<string> NamedRange { get; set; }

    //Refers to ContentControl.Tag, Cell.Name, or Cell.Reference
    public InArgument<string> Reference { get; set; }

    public OutArgument<string> Value { get; set; }
  }
}
